$(function () {
    var a=1;
    $.get(baseURL + "module/blogarticle/list?limit=10&page="+a, function(r){
        var data = r.page.list
        console.log(data)
        var vm = new Vue({
            el: '#main',
            data: {
                showList: true,
                title: null,
                items: data
            },
            methods: {
                update: function (event) {
                    var id = event.id;

                    if (id == null) {
                        return;
                    }
                    vm.getInfo(id)
                },
                getInfo: function (id) {
                    window.location.href=baseURL + "infos/" + id;
                }
            }
        });
    });

});